[linky] Add support for reading index instead of basic value#19147
[linky] Add support for reading index instead of basic value#19147lolodomo merged 40 commits intoopenhab:mainfrom
Conversation
…ournisseur and distributor dispatch like heure creuse / heure pleine or tempo tarif). Signed-off-by: Laurent ARNAL <laurent@clae.net>
Signed-off-by: Laurent ARNAL <laurent@clae.net>
1fc1544 to
a5b1bfc
Compare
Signed-off-by: Laurent ARNAL <laurent@clae.net>
Signed-off-by: Laurent ARNAL <laurent@clae.net>
Signed-off-by: Laurent ARNAL <laurent@clae.net>
Signed-off-by: Laurent ARNAL <laurent@clae.net>
Signed-off-by: Laurent ARNAL <laurent@clae.net>
Signed-off-by: Laurent ARNAL <laurent@clae.net>
Signed-off-by: Laurent ARNAL <laurent@clae.net>
Signed-off-by: Laurent ARNAL <laurent@clae.net>
Signed-off-by: Laurent ARNAL <laurent@clae.net>
Signed-off-by: Laurent ARNAL <laurent@clae.net>
remove unnecessary code after last fixes Signed-off-by: Laurent ARNAL <laurent@clae.net>
Signed-off-by: Laurent ARNAL <laurent@clae.net>
…the binding Signed-off-by: Laurent ARNAL <laurent@clae.net>
- Will create channel dynamically to represent each available tarif. - Will split the dataset result to the bound of tarif change. - Will update each time series accordly. - Graph will be able to display silmutaneous tarif on the same graph. Signed-off-by: Laurent ARNAL <laurent@clae.net>
Signed-off-by: Laurent ARNAL <laurent@clae.net>
… set to 0. Signed-off-by: Laurent ARNAL <laurent@clae.net>
add verification for tarif change Signed-off-by: Laurent ARNAL <laurent@clae.net>
|
Hello @lolodomo, I've pushed the fixes for your review of this morning. Laurent. |
Yes, you're probably right. I have commented as a response to the original comment. I would prefer to avoid the ERROR log level for the unexpected index mode. Look at my 3 comments that are not yet marked as resolved. |
....linky/src/main/java/org/openhab/binding/linky/internal/handler/ThingLinkyRemoteHandler.java
Outdated
Show resolved
Hide resolved
....linky/src/main/java/org/openhab/binding/linky/internal/handler/ThingLinkyRemoteHandler.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Laurent ARNAL <laurent@clae.net>
Signed-off-by: Laurent ARNAL <laurent@clae.net>
|
I've push the changed about this morning review. Laurent |
We don't need anymore this modification, as was already fixed by commit * review data array bound when using index (925585e ) on MeterReading. Signed-off-by: Laurent ARNAL <laurent@clae.net>
|
Hello @lolodomo, See my comment about the two remaining point. Laurent. |
…ly support index Signed-off-by: Laurent ARNAL <laurent@clae.net>
....linky/src/main/java/org/openhab/binding/linky/internal/handler/ThingLinkyRemoteHandler.java
Outdated
Show resolved
Hide resolved
....linky/src/main/java/org/openhab/binding/linky/internal/handler/ThingLinkyRemoteHandler.java
Show resolved
Hide resolved
bundles/org.openhab.binding.linky/src/main/resources/OH-INF/i18n/linky_fr.properties
Outdated
Show resolved
Hide resolved
|
@lo92fr : I just added 3 last comments. After that, I will merge. |
Thanks for the review. I will try to fix the last 3 somewhere today. Laurent. |
Signed-off-by: Laurent ARNAL <laurent@clae.net>
Signed-off-by: Laurent ARNAL <laurent@clae.net>
fix bad test on updateEnergyIndex, always false ! Signed-off-by: Laurent ARNAL <laurent@clae.net>
|
I've just push the 3 fixes. Laurent. |
Label is still with a leading space (and different from the one in description - to be confirmed that is really what you want) and still lots of changes in French translations (even more than before). |
Signed-off-by: Laurent ARNAL <laurent@clae.net>
Signed-off-by: Laurent ARNAL <laurent@clae.net>
Have to said that there will be another pull request by the end of year about linky. Laurent. |


Support for reading index instead of basic value,
Description
This PR is about to get consumption index from the api instead of consumption value.
With consumption index, we will be able to dispatch the consumption to a specific tarif, and have graph where you can see consumption of different time area in the day.
For exemple, it will support tarif like:
Heure pleine / Heure creuse.
Tempo tariff with 6 dispatch cadran : Red, White, Blue & HP/HC.
And the first version only implement EnedisWeb gateway.